home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / pegamail / pmfxuucp / source / fx.bat < prev    next >
DOS Batch File  |  1995-04-13  |  1KB  |  46 lines

  1. @ECHO OFF
  2. CD\FX\SPOOL\KUENTOS
  3. IF EXIST OUTPUT.BAT DEL OUTPUT.BAT
  4. FOR %%A IN (*.WOM) DO RFILTERC %%A
  5. IF EXIST OUTPUT.BAT CALL OUTPUT
  6. IF EXIST OUTPUT.BAT DEL OUTPUT.BAT
  7. HOME
  8. CASTOFF
  9. REM USE ATSEND TO INITIALIZE MODEM
  10. REM
  11. ATSEND &F
  12. ATSEND &F
  13. ATSEND S95=47&D2&S1%%C1W1\N2%%M3S48=0S95=47&Q9
  14. REM
  15. REM SET FX VALUE
  16. SET FXUUCP=F:\FX\FXUUCP.CFG
  17. CD\FX\UUCP
  18. CLS
  19. REM ERASE OLD LOG INFO FILES
  20. ERASE \FX\UUCICO
  21. REM RUN FXUUCICO (version 1.0)
  22. \FX\UUCICO -V -r99 -t60 -s kuentos -x4
  23. DEBUG2
  24. REM Check if any mail recieved
  25. CD \FX\SPOOL\KUENTOS
  26. REM IF NO MAIL, WE ARE DONE
  27. IF NOT EXIST *.D GOTO END
  28. REM I use drive N: in a batch file to move the mail
  29. MAP N:=F:\MAIL
  30. REM Rather than Scanning for Files, I create a file
  31. REM with the Directory of the Files
  32. DIR *.D >TEMP.$$$
  33. REM Run the Mail Processing Program using GCC host and Postmaster name
  34. REM Info now gotten from HOST.DAT FILE
  35. \FX\MAILFIXF
  36. REM .X Files are used by mailfix, and are save to Zip File.
  37. REM The Files are not necessary, but I save them for awhile.
  38. PKZIP -M \FX\ZIP\SAVEX *.X
  39. REM Run the batch file create by mailfixf program
  40. OUTPUT
  41. :END
  42. F:
  43. REM Program to return to my home directory
  44. HOME
  45. CASTON
  46.